import './assets/main.scss'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import components from './component' // 引入全局组件

const app = createApp(App)

app.use(createPinia())
app.use(ElementPlus)
app.use(router).use(components)

// 配置全局属性
app.config.globalProperties.$localurl = '/assets/'

app.mount('#app')
